#pragma once
#include <memory>
#include "boost/beast.hpp"

namespace beast = boost::beast;
namespace http = beast::http;
namespace net = boost::asio;
using tcp = net::ip::tcp;

class CServer:public std::enable_shared_from_this<CServer>
{
public:
    CServer(net::io_context& io_context,unsigned short port);
    void Start();

private:
    tcp::acceptor acceptor_;
    net::io_context io_context_;

};
